package com.diaohw.module.system.obj.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.util.ArrayList;
import java.util.List;

/**
 * 部门 DTO
 *
 * @author D-Hw
 * @since 2024-07-05
 */
@EqualsAndHashCode(callSuper = true)
@Data
@Accessors(chain = true)
@Schema(name = "Department", description = "部门 DTO")
public class DepartmentTreeVo extends DepartmentVo {

    /**
     * 子部门
     */
    @Schema(description = "children")
    private List<DepartmentTreeVo> children = new ArrayList<>();


}
